export default [
    {
      path: '/blog',
      name: 'Blog',
      component: () => import('@/views/blog/BlogList.vue')
    },
    {
      path: '/write',
      name: 'WriteArticle',
      component: () => import('@/views/blog/WriteArticle.vue'),
      meta: { requiresAuth: true }
    },
    {
      path: '/post/:id',
      name: 'Post',
      component: () => import('@/views/blog/PostDetail.vue'),
      props: true
    }
  ]